import React from "react"

interface Props extends React.PropsWithChildren {
  onChange: Function
  name?: string
}

function Panel(props: Props): React.ReactElement {
  return <div onClick={() => props.onChange()}>
    panel
    {props.name}
  </div>
}

export default Panel